home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / share / emacs / 19.34 / lisp / resume.elc.z / resume.elc
Emacs Compiled Lisp  |  1998-10-28  |  2.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 64 65 6c |piled by| rms@del|
|00000020| 61 73 79 64 2e 67 6e 75 | 2e 61 69 2e 6d 69 74 2e |asyd.gnu|.ai.mit.|
|00000030| 65 64 75 20 6f 6e 20 57 | 65 64 20 4d 61 79 20 20 |edu on W|ed May |
|00000040| 31 20 31 36 3a 31 33 3a | 32 38 20 31 39 39 36 0a |1 16:13:|28 1996.|
|00000050| 3b 3b 3b 20 66 72 6f 6d | 20 66 69 6c 65 20 2f 68 |;;; from| file /h|
|00000060| 6f 6d 65 2f 66 73 66 2f | 72 6d 73 2f 65 31 39 2f |ome/fsf/|rms/e19/|
|00000070| 6c 69 73 70 2f 72 65 73 | 75 6d 65 2e 65 6c 0a 3b |lisp/res|ume.el.;|
|00000080| 3b 3b 20 65 6d 61 63 73 | 20 76 65 72 73 69 6f 6e |;; emacs| version|
|00000090| 20 31 39 2e 33 30 2e 39 | 39 2e 34 2e 0a 3b 3b 3b | 19.30.9|9.4..;;;|
|000000a0| 20 62 79 74 65 63 6f 6d | 70 20 76 65 72 73 69 6f | bytecom|p versio|
|000000b0| 6e 20 46 53 46 20 32 2e | 31 30 0a 3b 3b 3b 20 6f |n FSF 2.|10.;;; o|
|000000c0| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|000000d0| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|000000e0| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|000000f0| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000100| 20 69 6e 20 45 6d 61 63 | 73 20 31 38 2e 0a 0a 28 | in Emac|s 18...(|
|00000110| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000120| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000130| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000140| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|00000150| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|00000160| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|00000170| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|00000180| 72 73 69 6f 6e 20 22 31 | 39 2e 32 39 22 29 29 29 |rsion "1|9.29")))|
|00000190| 0a 20 20 20 20 28 65 72 | 72 6f 72 20 22 60 72 65 |. (er|ror "`re|
|000001a0| 73 75 6d 65 2e 65 6c 27 | 20 77 61 73 20 63 6f 6d |sume.el'| was com|
|000001b0| 70 69 6c 65 64 20 66 6f | 72 20 45 6d 61 63 73 20 |piled fo|r Emacs |
|000001c0| 31 39 2e 32 39 20 6f 72 | 20 6c 61 74 65 72 22 29 |19.29 or| later")|
|000001d0| 29 0a 0a 0a 23 40 36 39 | 20 2a 54 68 69 73 20 66 |)...#@69| *This f|
|000001e0| 69 6c 65 20 69 73 20 77 | 68 65 72 65 20 61 72 67 |ile is w|here arg|
|000001f0| 75 6d 65 6e 74 73 20 61 | 72 65 20 70 6c 61 63 65 |uments a|re place|
|00000200| 64 20 66 6f 72 20 61 20 | 73 75 73 70 65 6e 64 65 |d for a |suspende|
|00000210| 64 20 65 6d 61 63 73 20 | 6a 6f 62 2e 1f 0a 28 64 |d emacs |job...(d|
|00000220| 65 66 76 61 72 20 72 65 | 73 75 6d 65 2d 65 6d 61 |efvar re|sume-ema|
|00000230| 63 73 2d 61 72 67 73 2d | 66 69 6c 65 20 28 65 78 |cs-args-|file (ex|
|00000240| 70 61 6e 64 2d 66 69 6c | 65 2d 6e 61 6d 65 20 22 |pand-fil|e-name "|
|00000250| 7e 2f 2e 65 6d 61 63 73 | 5f 61 72 67 73 22 29 20 |~/.emacs|_args") |
|00000260| 28 23 24 20 2e 20 2d 34 | 37 33 29 29 0a 23 40 34 |(#$ . -4|73)).#@4|
|00000270| 35 20 42 75 66 66 65 72 | 20 74 68 61 74 20 69 73 |5 Buffer| that is|
|00000280| 20 75 73 65 64 20 62 79 | 20 72 65 73 75 6d 65 2d | used by| resume-|
|00000290| 70 72 6f 63 65 73 73 2d | 61 72 67 73 2e 1f 0a 28 |process-|args...(|
|000002a0| 64 65 66 76 61 72 20 72 | 65 73 75 6d 65 2d 65 6d |defvar r|esume-em|
|000002b0| 61 63 73 2d 61 72 67 73 | 2d 62 75 66 66 65 72 20 |acs-args|-buffer |
|000002c0| 22 20 2a 43 6f 6d 6d 61 | 6e 64 20 4c 69 6e 65 20 |" *Comma|nd Line |
|000002d0| 41 72 67 73 2a 22 20 28 | 23 24 20 2e 20 36 32 36 |Args*" (|#$ . 626|
|000002e0| 29 29 0a 23 40 36 30 20 | 48 61 6e 64 6c 65 72 20 |)).#@60 |Handler |
|000002f0| 66 6f 72 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |for comm|and line|
|00000300| 20 61 72 67 73 20 67 69 | 76 65 6e 20 77 68 65 6e | args gi|ven when|
|00000310| 20 45 6d 61 63 73 20 69 | 73 20 72 65 73 75 6d 65 | Emacs i|s resume|
|00000320| 64 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 72 |d...(def|alias 'r|
|00000330| 65 73 75 6d 65 2d 70 72 | 6f 63 65 73 73 2d 61 72 |esume-pr|ocess-ar|
|00000340| 67 73 20 23 5b 6e 69 6c | 20 22 70 c0 09 21 c2 89 |gs #[nil| "p..!..|
|00000350| 0b 1c 1d 1e 06 1e 07 1e | 08 c9 8e 0e 07 71 88 ca |........|.....q..|
|00000360| 20 88 c2 cb cc 8f 88 0e | 06 cd 58 83 29 00 c2 15 | .......|..X.)...|
|00000370| 82 50 00 65 62 88 6d 84 | 4a 00 ce c2 77 88 60 1e |.P.eb.m.|J...w.`.|
|00000380| 0f d0 c2 77 88 0e 0f 60 | 7b 0d 42 15 29 ce c2 77 |...w...`|{.B.)..w|
|00000390| 88 82 2c 00 0d 9f 15 ca | 20 88 d1 70 0e 12 5c 22 |..,.....| ..p..\"|
|000003a0| 88 0d 83 62 00 d3 0d 40 | 21 14 0d 41 15 d4 0d 21 |...b...@|!..A...!|
|000003b0| 2e 06 87 22 20 5b 67 65 | 74 2d 62 75 66 66 65 72 |..." [ge|t-buffer|
|000003c0| 2d 63 72 65 61 74 65 20 | 72 65 73 75 6d 65 2d 65 |-create |resume-e|
|000003d0| 6d 61 63 73 2d 61 72 67 | 73 2d 62 75 66 66 65 72 |macs-arg|s-buffer|
|000003e0| 20 6e 69 6c 20 64 65 66 | 61 75 6c 74 2d 64 69 72 | nil def|ault-dir|
|000003f0| 65 63 74 6f 72 79 20 63 | 6f 6d 6d 61 6e 64 2d 6c |ectory c|ommand-l|
|00000400| 69 6e 65 2d 64 65 66 61 | 75 6c 74 2d 64 69 72 65 |ine-defa|ult-dire|
|00000410| 63 74 6f 72 79 20 61 72 | 67 73 20 6c 65 6e 67 74 |ctory ar|gs lengt|
|00000420| 68 20 61 72 67 73 2d 62 | 75 66 66 65 72 20 73 74 |h args-b|uffer st|
|00000430| 61 72 74 2d 62 75 66 66 | 65 72 20 28 28 62 79 74 |art-buff|er ((byt|
|00000440| 65 2d 63 6f 64 65 20 22 | 70 08 3d 83 09 00 09 71 |e-code "|p.=....q|
|00000450| 88 c2 87 22 20 5b 61 72 | 67 73 2d 62 75 66 66 65 |..." [ar|gs-buffe|
|00000460| 72 20 73 74 61 72 74 2d | 62 75 66 66 65 72 20 6e |r start-|buffer n|
|00000470| 69 6c 5d 20 32 29 29 20 | 65 72 61 73 65 2d 62 75 |il] 2)) |erase-bu|
|00000480| 66 66 65 72 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |ffer (by|te-code |
|00000490| 22 c0 09 21 89 1a 41 40 | 13 29 c0 87 22 20 5b 69 |"..!..A@|.).." [i|
|000004a0| 6e 73 65 72 74 2d 66 69 | 6c 65 2d 63 6f 6e 74 65 |nsert-fi|le-conte|
|000004b0| 6e 74 73 20 72 65 73 75 | 6d 65 2d 65 6d 61 63 73 |nts resu|me-emacs|
|000004c0| 2d 61 72 67 73 2d 66 69 | 6c 65 20 72 65 73 75 6c |-args-fi|le resul|
|000004d0| 74 20 6c 65 6e 67 74 68 | 5d 20 33 29 20 28 28 66 |t length|] 3) ((f|
|000004e0| 69 6c 65 2d 65 72 72 6f | 72 20 28 62 79 74 65 2d |ile-erro|r (byte-|
|000004f0| 63 6f 64 65 20 22 c0 20 | 88 c1 12 c0 87 22 20 5b |code ". |....." [|
|00000500| 65 72 61 73 65 2d 62 75 | 66 66 65 72 20 30 20 6c |erase-bu|ffer 0 l|
|00000510| 65 6e 67 74 68 5d 20 31 | 29 29 29 20 30 20 22 20 |ength] 1|))) 0 " |
|00000520| 09 5c 6e 22 20 62 65 67 | 69 6e 20 22 5e 20 09 5c |.\n" beg|in "^ .\|
|00000530| 6e 22 20 72 65 73 75 6d | 65 2d 77 72 69 74 65 2d |n" resum|e-write-|
|00000540| 62 75 66 66 65 72 2d 74 | 6f 2d 66 69 6c 65 20 72 |buffer-t|o-file r|
|00000550| 65 73 75 6d 65 2d 65 6d | 61 63 73 2d 61 72 67 73 |esume-em|acs-args|
|00000560| 2d 66 69 6c 65 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |-file fi|le-name-|
|00000570| 61 73 2d 64 69 72 65 63 | 74 6f 72 79 20 63 6f 6d |as-direc|tory com|
|00000580| 6d 61 6e 64 2d 6c 69 6e | 65 2d 31 5d 20 35 20 28 |mand-lin|e-1] 5 (|
|00000590| 23 24 20 2e 20 37 34 34 | 29 5d 29 0a 23 40 36 37 |#$ . 744|)]).#@67|
|000005a0| 20 43 6c 65 61 72 20 6f | 75 74 20 74 68 65 20 66 | Clear o|ut the f|
|000005b0| 69 6c 65 20 75 73 65 64 | 20 66 6f 72 20 74 72 61 |ile used| for tra|
|000005c0| 6e 73 6d 69 74 74 69 6e | 67 20 61 72 67 73 20 77 |nsmittin|g args w|
|000005d0| 68 65 6e 20 45 6d 61 63 | 73 20 72 65 73 75 6d 65 |hen Emac|s resume|
|000005e0| 73 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 72 |s...(def|alias 'r|
|000005f0| 65 73 75 6d 65 2d 73 75 | 73 70 65 6e 64 2d 68 6f |esume-su|spend-ho|
|00000600| 6f 6b 20 23 5b 6e 69 6c | 20 22 8a c0 09 21 71 88 |ok #[nil| "...!q.|
|00000610| c2 20 88 c3 70 5c 66 5c | 22 29 87 22 20 5b 67 65 |. ..p\f\|")." [ge|
|00000620| 74 2d 62 75 66 66 65 72 | 2d 63 72 65 61 74 65 20 |t-buffer|-create |
|00000630| 72 65 73 75 6d 65 2d 65 | 6d 61 63 73 2d 61 72 67 |resume-e|macs-arg|
|00000640| 73 2d 62 75 66 66 65 72 | 20 65 72 61 73 65 2d 62 |s-buffer| erase-b|
|00000650| 75 66 66 65 72 20 72 65 | 73 75 6d 65 2d 77 72 69 |uffer re|sume-wri|
|00000660| 74 65 2d 62 75 66 66 65 | 72 2d 74 6f 2d 66 69 6c |te-buffe|r-to-fil|
|00000670| 65 20 72 65 73 75 6d 65 | 2d 65 6d 61 63 73 2d 61 |e resume|-emacs-a|
|00000680| 72 67 73 2d 66 69 6c 65 | 5d 20 33 20 28 23 24 20 |rgs-file|] 3 (#$ |
|00000690| 2e 20 31 34 34 31 29 5d | 29 0a 23 40 36 34 20 57 |. 1441)]|).#@64 W|
|000006a0| 72 69 74 65 73 20 74 68 | 65 20 63 6f 6e 74 65 6e |rites th|e conten|
|000006b0| 74 73 20 6f 66 20 42 55 | 46 46 45 52 20 69 6e 74 |ts of BU|FFER int|
|000006c0| 6f 20 46 49 4c 45 2c 20 | 69 66 20 70 65 72 6d 69 |o FILE, |if permi|
|000006d0| 73 73 69 6f 6e 73 20 61 | 6c 6c 6f 77 2e 1f 0a 28 |ssions a|llow...(|
|000006e0| 64 65 66 61 6c 69 61 73 | 20 27 72 65 73 75 6d 65 |defalias| 'resume|
|000006f0| 2d 77 72 69 74 65 2d 62 | 75 66 66 65 72 2d 74 6f |-write-b|uffer-to|
|00000700| 2d 66 69 6c 65 20 23 5b | 28 62 75 66 66 65 72 20 |-file #[|(buffer |
|00000710| 66 69 6c 65 29 20 22 c0 | 09 21 84 0b 00 c2 c3 09 |file) ".|.!......|
|00000720| 5c 22 88 8a 5c 66 71 88 | c5 20 88 8c 7e 88 c6 65 |\"..\fq.|. ..~..e|
|00000730| 64 09 c7 c8 25 88 29 c9 | c7 21 29 87 22 20 5b 66 |d...%.).|.!)." [f|
|00000740| 69 6c 65 2d 77 72 69 74 | 61 62 6c 65 2d 70 20 66 |ile-writ|able-p f|
|00000750| 69 6c 65 20 65 72 72 6f | 72 20 22 4e 6f 20 70 65 |ile erro|r "No pe|
|00000760| 72 6d 69 73 73 69 6f 6e | 20 74 6f 20 77 72 69 74 |rmission| to writ|
|00000770| 65 20 66 69 6c 65 20 25 | 73 22 20 62 75 66 66 65 |e file %|s" buffe|
|00000780| 72 20 63 6c 65 61 72 2d | 76 69 73 69 74 65 64 2d |r clear-|visited-|
|00000790| 66 69 6c 65 2d 6d 6f 64 | 74 69 6d 65 20 77 72 69 |file-mod|time wri|
|000007a0| 74 65 2d 72 65 67 69 6f | 6e 20 6e 69 6c 20 71 75 |te-regio|n nil qu|
|000007b0| 69 65 74 20 73 65 74 2d | 62 75 66 66 65 72 2d 6d |iet set-|buffer-m|
|000007c0| 6f 64 69 66 69 65 64 2d | 70 5d 20 36 20 28 23 24 |odified-|p] 6 (#$|
|000007d0| 20 2e 20 31 36 39 35 29 | 5d 29 0a 28 70 72 6f 76 | . 1695)|]).(prov|
|000007e0| 69 64 65 20 28 71 75 6f | 74 65 20 72 65 73 75 6d |ide (quo|te resum|
|000007f0| 65 29 29 0a | |e)). | |
+--------+-------------------------+-------------------------+--------+--------+